export function getData(that, method, url, params, callback) {
    let header = {
        'content-type': 'application/json',
        'Accept': 'application/json, text/plain, */*'
    };
    that.$axios({
        method: method,
        url: '/' + url,
        config: { headers: { header } },
        params: params
    }).then((res) => {
        callback(res);
    })
        .catch((error) => {
        console.log(error, 123);
    });
}
